package com.sa.user.service;

import com.sa.user.api.dto.RoleDTO;
import com.sa.user.dataobject.Role;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 *
 */
public interface RoleService extends IService<Role> {

    List<RoleDTO> loadRoleByUserId(long userId);

    List<RoleDTO> loadAllRoles();
}
